\hypertarget{ftp__server_8h_source}{}\doxysection{ftp\+\_\+server.\+h}

\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{2 \textcolor{keywordtype}{void} \mbox{\hyperlink{ftp__server_8c_afe95cbf25cb718882af3b270d8444891}{greetings}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{3 \textcolor{keywordtype}{int} \mbox{\hyperlink{ftp__server_8c_a4297bbb7ddb30e7cc2c896d127501eb5}{create\_socket}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{4 \textcolor{keywordtype}{void} \mbox{\hyperlink{ftp__server_8c_a717154ba6392e7882d105c8878e2b89e}{bind\_to\_port}}(\textcolor{keyword}{struct} sockaddr\_in client\_addr, \textcolor{keywordtype}{int} sockfd);}
\DoxyCodeLine{5 \textcolor{keywordtype}{void} \mbox{\hyperlink{ftp__server_8c_a0cc55115a0b678b249e3bc9044f9d79b}{listen\_to\_port}}(\textcolor{keywordtype}{int} sockfd, \textcolor{keywordtype}{int} backlog);}
\DoxyCodeLine{6 \textcolor{keywordtype}{int} \mbox{\hyperlink{ftp__server_8c_a7ff013fbdf95b96f2d023fec829a0ef5}{accept\_connections}}(\textcolor{keywordtype}{int} sock\_listen);}
\DoxyCodeLine{7 \textcolor{keywordtype}{void} \mbox{\hyperlink{ftp__server_8c_a80762bccbf172f3bcc3c6149c6c407c5}{send\_message}}(\textcolor{keywordtype}{int} client\_sock, \textcolor{keywordtype}{char} *info, \textcolor{keywordtype}{char} *extra);}
\DoxyCodeLine{8 \textcolor{keywordtype}{int} \mbox{\hyperlink{ftp__server_8c_a51e4c16da2d4948788531008dd381d35}{recv\_message}}(\textcolor{keywordtype}{int} client\_sock);}
\DoxyCodeLine{9 \textcolor{keywordtype}{int} \mbox{\hyperlink{ftp__server_8c_a79275ba100d8e41616e85d2640b4ccdb}{validate\_username}}(\textcolor{keywordtype}{char} *username);}
\DoxyCodeLine{10 \textcolor{keywordtype}{int} \mbox{\hyperlink{ftp__server_8c_a05cb29dcebf6f6367e907c50b507177a}{validate\_password}}(\textcolor{keywordtype}{char} *password, \textcolor{keywordtype}{int} mode);}
\DoxyCodeLine{11 \textcolor{keywordtype}{void} \mbox{\hyperlink{ftp__server_8c_a46870c32ba12c8313bcb7664e55c13ca}{user\_login}}(\textcolor{keywordtype}{int} client\_sock);}
\DoxyCodeLine{12 \textcolor{keywordtype}{void} \mbox{\hyperlink{ftp__server_8c_a3e49a1da2caece9751648f488b1519c3}{command\_handler}}(\textcolor{keywordtype}{int} client\_sock);}
\DoxyCodeLine{13 \textcolor{keywordtype}{void} \mbox{\hyperlink{ftp__server_8c_aaf5d9aef5682b7dbbc48cdc1833b74ea}{handle\_client\_request}}(\textcolor{keywordtype}{int} socket\_control);}

\end{DoxyCode}
